class school{
    public double Entry_Score;              //成员变量为录取分数
    public school(double Entry_Score1)
    {     //构造school方法
        Entry_Score=Entry_Score1;
    }
    public double getEntry_Score()
    {        //成员构造方法
        return Entry_Score;
    }
}
class students{
    String name;//成员变量
    int id;
    double Total_Score;
    double Pe_Score;
    public students(String name1,int id1,double Total_Score1,double Pe_Score1){//构造STUDENTS方法
        name= name1;
        id=id1;
        Total_Score=Total_Score1;
        Pe_Score=Pe_Score1;
    }
    public String getname(){//成员方法
        return name;
    }
    public int getid()
    {
        return id;
    }
    public double getTotal_Score()
    {
        return Total_Score;
    }

    public double getPe_Score()
    {
        return Pe_Score;
    }
}
public class test_3_2 {
    public static void main(String[] args) {
        students stu1 = new students("张三", 2021032701, 450, 99);
        //students stu2 = new students("李四", 2021032702, 60.0, 50);
        school sc = new school(200);
        if((sc.getEntry_Score()<=stu1.getTotal_Score()) ||(stu1.getTotal_Score()>=300 && stu1.getPe_Score()>=90))
        {
            System.out.println("你被录取了");
        }

        else
            System.out.println("很抱歉，你未被录取");
    }
}
